/* ParagraphGenerationPanel 7 */

.paragraph-generation-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 4� */
.panel-header {
  text-align: center;
  margin-bottom: 8px;
}

.panel-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 8px;
}

.panel-subtitle {
  font-size: 14px;
  color: #8c8c8c;
  margin: 0;
}

/* ߡaG */
.stats-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stats-card .ant-statistic-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.stats-card .ant-statistic-content {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

/* �6aG */
.control-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.control-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-label {
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  min-width: 90px;
}

.control-desc {
  font-size: 12px;
  color: #8c8c8c;
  margin-left: 8px;
}

/* ۦaG */
.progress-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-label {
  font-size: 14px;
  font-weight: 500;
  color: #595959;
}

.progress-text {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
}

.current-task {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  font-size: 13px;
  color: #595959;
}

/* 所有段落容器 */
.all-paragraphs-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 段落卡片 */
.paragraph-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.paragraph-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* 当前生成中的段落 */
.paragraph-card.current-paragraph {
  border: 2px solid #1890ff;
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.2);
}

/* SM�=aG */
.current-paragraph-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* z� */
.empty-state {
  border-radius: 12px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.empty-content {
  text-align: center;
  padding: 40px;
}

.empty-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 16px;
}

.empty-content p {
  font-size: 16px;
  color: #595959;
  line-height: 1.8;
  margin-bottom: 12px;
}

.empty-hint {
  font-size: 14px;
  color: #1890ff;
  font-weight: 500;
}

/* ͔ */
@media (max-width: 768px) {
  .paragraph-generation-panel {
    padding: 16px;
    gap: 16px;
  }

  .panel-header h2 {
    font-size: 22px;
  }

  .panel-subtitle {
    font-size: 13px;
  }

  .stats-card .ant-col {
    margin-bottom: 16px;
  }

  .control-item {
    flex-direction: column;
    align-items: stretch;
  }

  .control-label {
    min-width: auto;
  }

  .empty-content {
    padding: 24px 16px;
  }

  .empty-content h3 {
    font-size: 20px;
  }

  .empty-content p {
    font-size: 14px;
  }

  /* 移动端段落卡片 */
  .all-paragraphs-container {
    gap: 12px;
  }

  .paragraph-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .paragraph-card:hover {
    transform: none;
  }
}
